package org.edu.modules.sxjy.controller;

import com.github.xiaoymin.knife4j.annotations.ApiSort;
import io.swagger.annotations.Api;
import javax.servlet.http.HttpServletRequest;
import org.edu.common.api.vo.Result;
import org.edu.modules.sxjy.feign.VeJwSkillApiClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@Api(tags={"职业考试成绩"})
@RestController
@RequestMapping({"/sxjy/occupationExamResults"})
@ApiSort(60)
public class VeJwSkillApiController
{
    private static final Logger log = LoggerFactory.getLogger(VeJwSkillApiController.class);
    @Autowired
    private VeJwSkillApiClient veJwSkillApiClient;

    @GetMapping({"/veJwCjZhiye"})
    public Result<?> veJwCjZhiye(@RequestParam(name="stuId") Integer stuId, @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, HttpServletRequest req)
    {
        return this.veJwSkillApiClient.veJwCjZhiyeByStuId(stuId);
    }
}
